<template>
  <div class="about">
    <h1>{{ msg }}sdfsdfsd</h1>
  </div>
</template>
<script lang="ts">
import { Vue, Component, Prop } from "vue-property-decorator";
import Feature from "@/models/feature";
@Component({})
export default class About extends Vue {
  private name!: "About";
  @Prop({ type: String}) //括号里为父组件传来的值和类型
  private msg!: string | undefined; //父组件传来的值用parentValue接受；
}
</script>
